<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>  
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>

<%@ page isELIgnored="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>发送消息</title>
		
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link href="cssOther/public.css" rel="stylesheet" type="text/css" />
		<link href="cssOther/column.css" rel="stylesheet" type="text/css" />
		<link href="cssOther/Result.css" rel="stylesheet" type="text/css" />
		<link href="cssOther/header.css" rel="stylesheet" type="text/css"/>
		<link href="cssOther/footer.css" rel="stylesheet" type="text/css"/>
		<link href="cssOther/SendMsg.css" rel="stylesheet" type="text/css" />

	</head>
	<body class="body">
		<div class="pageContent">
				
			<jsp:include flush="true" page="../include/header.jsp"></jsp:include>
			
			<!-- 页面主内容 -->
			<div class="main">
			
				<!-- 热门搜索词 -->
				<div class="mainLeft4">
					
					<div class="columnType1">
						<div class="columnType1Title">
							<div class="columnType1TitlePic">
								<img src="theme/skin1/public/columnPic/01.gif"/>
							</div>
							<div class="columnType1TitleText">
								<a href="" class="hotA">热门搜索词</a>
							</div>
							<div class="columnType1TitleMore">
								<!-- 这里是更多链接，不需要请删除该链接 -->
								<!-- 
									<a href=""><img src="theme/skin1/public/more1.gif" border="0"/></a>
								 -->
							</div>
						</div>
						<div class="columnType1Content">
							<div class="hkLineDiv">
								<li><a href="message.do?method=sendMessage">发送新短消息</a></li>
				        	  	<li><a href="message.do?method=mySendMessage">我发送的短消息</a></li>
				        	  	<li><a href="message.do?method=myReceiveMessage">我收到的短消息</a></li>
				        	  	<li><a href="message.do?method=sendMoreMessage">我要群发短消息</a></li>
							</div>
						</div>
						<div class="columnType1End">
						</div>
					</div>
					
				</div>
				
				<!-- 页面中间内容 -->
				<div class="mainContent4">
					
					
					<!-- 搜索结果 -->
					<div class="columnType6">
						<div class="columnType6Title">
							<div class="columnType6TitlePic">
								<img src="theme/skin1/public/columnPic/04.gif"/>
							</div>
							<div class="columnType6TitleText">
								<a href="" class="hotA">发送短消息</a>
							</div>
							<div class="columnType6TitleMore">
								<!-- 这里是更多链接，不需要请删除该链接 -->
								<!-- 
									<a href=""><img src="theme/skin1/public/more1.gif" border="0"/></a>
								 -->
							</div>
						</div>
						<div class="columnType6Content">
							<form action="message.do?method=sendMessage" method="post">
							<!-- 搜索结果 -->
							<div class="rsDiv">
								
								<div class="rsInfo">
									<c:choose>
										<c:when test="${(! empty param.userNo) and (! empty param.username)}">
											给 <a href="personal.do?userNo=${param.userNo}">${param.username}</a> 发送短消息
											<input type="hidden" name="receiveUser" value="${param.userNo},${param.username}"/>
										</c:when>
										<c:otherwise>
											选择好友用户名发送:
											<select name="receiveUser">
												<c:forEach items="${requestScope.list}" var="data">
													<option value="${data.userNo},${data.username}">${data.username}</option>
												</c:forEach>
											</select>
										</c:otherwise>
									</c:choose>
								</div>
								
								<!-- 分割线 -->
								<div class="rsFg"></div>
								<div align="center">
								<div class="sendLineDiv">
									<div class="sendNameDiv">
										消息内容：
									</div>
									<div class="sendInputDiv">
										<textarea class="sendMsgInfo" name="content"></textarea>
									</div>
								</div>
								<div class="sendLineButton">
									<input type="submit" class="button01" value="发 送"/>
								</div>
								</div>
							</div>							
							</form>
						</div>
						<div class="columnType6End">
						</div>
					</div>

				</div>

			</div>

			<jsp:include flush="true" page="../include/footer.jsp"></jsp:include>
				
		</div>
	</body>
</html>
